//
//  AdaptableScreen.h
//  Deepbreathing
//
//  Created by DreamHack on 15-8-12.
//  Copyright (c) 2015年 DreamHack. All rights reserved.
//



#import <UIKit/UIKit.h>

#define IMAGE_WITH_NAME(x) [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForAuxiliaryExecutable:x]]

#define IMAGE_CONTENT(x) [[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForAuxiliaryExecutable:x]]imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]
// 颜色
#define ZLColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

#define ZLColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]

// 随机色
#define ZLRandomColor ZLColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))